package com.example.vueblog.entity.security;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author yushunshun
 * @date 2022/7/20 0:45
 */
@Data
public class LoginBody {
    /**
     * 用户名
     */
    @NotEmpty
    private String username;
    /**
     * 密码
     */
    @NotEmpty
    private String password;
    /**
     * 验证码
     */
    @NotEmpty
    private String code;
    /**
     * 验证码区分用户id
     */
    @NotEmpty
    private String uuid;
}
